home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / datescrn.arc / CSR_DWN.C < prev    next >
Text File  |  1985-12-12  |  1KB  |  25 lines

  1. /****************************************************************************/
  2. /*                                                                          */
  3. /* This function was written by Jim Niederriter for the Lattice `C' Compiler*/
  4. /* on the IBM Personal Computer or compatible, running DOS 2.0.             */
  5. /*                                                                          */
  6. /* It requires that the system be booted with a CONFIG.SYS file on the boot */
  7. /* disk containing the record: DEVICE=ANSI.SYS                              */
  8. /*                                                                          */
  9. /* In addition, the ANSI.SYS file from the DOS 2.0 disk should also be on   */
  10. /* the boot disk.                                                           */
  11. /*                                                                          */
  12. /* See Chapter 13 of the DOS 2.0 Manual for further explanation.            */
  13. /*                                                                          */
  14. /****************************************************************************/
  15.  
  16. /*  csr_dwn() */
  17. /*  this function move the cursor down from its current position by */
  18. /*  the number of lines specified  */
  19.  
  20. int csr_dwn(lines)
  21. int lines;
  22. {
  23.      cprintf("\x1B[%dB", lines);
  24. }
  25.